package com.qingxin.park.vo;

import java.util.ArrayList;
import java.util.List;

public class TraceGroup {

	private String name;
	private List<TraceRecord> records = new ArrayList<>();
	
	public TraceGroup() {
	}
	
	
	public TraceGroup(String name) {
		this.name = name;
	}


	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<TraceRecord> getRecords() {
		return records;
	}
	public void setRecords(List<TraceRecord> records) {
		this.records = records;
	}
	public void addRecord(TraceRecord record){
		records.add(record);
	}
	
}
